package pojo;

import java.util.List;

/**
 * @ClassName: MappedHost
 * @Description: MappedHost容器存储MappedContext子容器
 * @Author: lixing
 * @Date: 2020-4-2 11:36
 * @Version: 0.0.1
 */
public class MappedHost extends MapperElement{
    private List<MappedContext> mappedContexts;

    public List<MappedContext> getMappedContexts() {
        return mappedContexts;
    }

    public void setMappedContexts(List<MappedContext> mappedContexts) {
        this.mappedContexts = mappedContexts;
    }

    public MappedHost(String name, Object object) {
        super(name, object);
    }

    @Override
    public String toString() {
        return "MappedHost{" +
                "mappedContexts=" + mappedContexts +
                '}';
    }
}
